package cn.wolfcode.luowowo.article.service;

import cn.wolfcode.luowowo.article.domain.WendaAnswer;
import cn.wolfcode.luowowo.article.domain.WendaAnswerContent;
import cn.wolfcode.luowowo.article.query.WendaAnswerQuery;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IWendaAnswerService {
    int deleteByPrimaryKey(Long id);

    int insert(WendaAnswer record);

    WendaAnswer selectByPrimaryKey(Long id);

    List<WendaAnswer> selectAll();

    int updateByPrimaryKey(WendaAnswer record);

    Long saveOrUpdate(WendaAnswer wendaAnswer);

    PageInfo query(WendaAnswerQuery qo);

    WendaAnswerContent getContent(Long id);
}
